package org.rapan.EJB;

import java.util.Set;

import javax.ejb.Local;

import org.rapan.exceptions.EmailTakenException;
import org.rapan.jpa.Company;

@Local
public interface CompanyInt {
	
	void createCompany(String name, String email) throws EmailTakenException;
	
	Company viewCompany(long id);
	
	Set<Company> getAllCompanies();
}
